package com.chen.circle.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chen.circle.api.common.PageResult;
import com.chen.circle.api.req.GetShareMomentReq;
import com.chen.circle.api.req.RemoveShareMomentReq;
import com.chen.circle.api.req.SaveMomentCircleReq;
import com.chen.circle.api.vo.ShareMomentVO;
import com.chen.circle.server.entity.po.ShareMoment;

public interface ShareMomentService extends IService<ShareMoment> {
    /**
     * 发布内容
     */
    Boolean saveMoment(SaveMomentCircleReq req);
    /**
     * 分页查询圈子内容
     */
    PageResult<ShareMomentVO> getMoments(GetShareMomentReq req);
    /**
     * 删除圈子的内容
     */
    Boolean removeMoment(RemoveShareMomentReq req);

    void incrReplyCount(Long id, int count);
}
